package com.ziyun.erp.modules.order.service;

import com.baomidou.mybatisplus.service.IService;
import com.ziyun.erp.modules.order.vo.UserAccessoryVo;
import io.renren.common.utils.PageUtils;
import com.ziyun.erp.modules.order.entity.UserAccessoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 我的附件
 *
 * @author gaosheng
 * @email
 * @date 2018-09-01 10:02:31
 */
public interface UserAccessoryService extends IService<UserAccessoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<UserAccessoryVo> queryListByItemId(String itemId);

    List<UserAccessoryVo> queryListByOrderNo(String orderNo);

    void saveUserAccessor(UserAccessoryVo userAccessoryVo,Long userId);

    void deleteUserAccessor(Integer[] ids);

    void saveAllotOrderFiles(List<UserAccessoryVo> userAccessoryVos, String orderId, Integer itemId, Integer userId);
}

